package com.spring.circle;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class MyAspect {

	@Before("execution(* com.spring.circle.A.*(..)) or execution(* com.spring.circle.B.*(..))")
	public void before(){
		System.out.println("MyAspect.before");
	}

}
